<?php

use Illuminate\Support\Facades\Route;
// use Illuminate\Support\Facades\Request;
use Illuminate\Http\Request;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

// print_r(111);exit();
Route::get('/', function () {
    return view('welcome');
});

Route::get('/haha', function () {
    echo "string";
});


Route::get('/fuwu', function (\App\Components\Flow\MyFlowService $haha) {
//    dd($haha->currentNode());
    dd(Flow::currentNode());
//    dd(\App\Facade\Flow::currentNode());
});
Route::get('/fuwu2', 'Web\FuwuController@index');
Route::get('/useResolve', 'Web\FuwuController@useResolve');
Route::get('/rongqi', 'Web\FuwuController@rongqi');
Route::get('/useContract', 'Web\FuwuController@useContract');
Route::get('/useEvent', 'Web\FuwuController@useEvent');




Auth::routes();

